@import "reset.css";
@import "../font/iconfont.css";
body{
    max-width: 7.5rem;
    margin: 0 auto;
}
// 头部
header{
    height: 2.95rem;
    position: relative;
    background: linear-gradient(#ff6040,#ff8476);
    padding: .44rem .12rem 0 .31rem;
    box-sizing: border-box;
    .title{
        height: .64rem;
        display: flex;
        color: #ffdfd8;
        align-items: center;
        h2{
            font-size: .3rem;
            margin: 0 1.1rem 0 2.4rem;
        }

        span{
            font-size: .5rem;
        }

        p{
            width: 1.72rem;
            height: .62rem;
            border: 1px solid #ff8a6f;
            border-radius: .3rem;
            position: relative;
            display: flex;
            justify-content: space-around;
            align-items: center;

            span{
                &:nth-child(1){
                    font-size: .4rem;
                }
                &:nth-child(2){
                    font-size: .3rem;
                }
            }
            
            i{
                width: 1px;
                height: .37rem;
                background:#ff8a6f; 
                position: absolute;
                top: .12rem;
                left: .86rem;
            }
        }
    }
    .site{
        width: 7.1rem;
        height: 2.08rem;
        background: #fff;
        position: absolute;
        left: .2rem;
        top: 1.4rem;
        padding: .4rem .6rem 0 .4rem;
        box-sizing: border-box;
        p{
            &:nth-child(1){
                color: #333;
                font-size: .32rem;
            }
            &:nth-child(2){
                font-size: .24rem;
                color: #666;
                margin-top: .27rem;
            }
        }
    }
}
// 内容
section {
    margin-top: .68rem;
    background: #fff;
    padding: .4rem .23rem 0 .2rem;
    box-sizing: border-box;
    .title{
        display: flex;
        align-items: center;
        background: #fff;
        span{
            &:nth-of-type(1){
                width: .3rem;
                height: .3rem;
                background: #ff6040;
                border-radius: .15rem;
                margin-right:.2rem;
                font-size: .18rem;
                color: #fff;
                line-height: .3rem;
                text-align: center;
            }
            &:nth-of-type(2){
                font-size: .3rem;
                color: #333;
                font-weight: bold;
            }
            &:nth-of-type(3){
                font-size: .22rem;
                color: #4b4b4b;
                margin-left:3.1rem;
            }
            &:nth-of-type(4){
                font-size: .22rem;
                color: #ff6040;
            }
        }
        b{
            margin: 0 .2rem;
            color: #979797;
        }
    }
    article{
        display: flex;
        padding-top: .4rem;
        box-sizing: border-box;
        justify-content: space-between;
        img{
            width: 2.16rem;
        }
        .text{
            width: 4.6rem;
            p{
                &:nth-child(1){
                    font-size: .28rem;
                    color: #333;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp:2;
                }
                &:nth-child(2){
                    font-size: .3rem;
                    color: #ff6040;
                    margin: .38rem 0 .25rem 0;
                    span{
                        font-size: .3rem;
                        float: left;
                        i{
                            font-size: .14rem;
                        }
                    }
                    b{
                        font-size: .22rem;
                        color: #333;
                        float: right;
                    }
                }
                &:nth-child(3){
                    display: flex;
                    color: #fff;
                    em{
                        width: 1.9rem;
                        height: .32rem;
                        background: #ff8066;
                        border-top: 1px solid #ffdad2;
                        margin-right: .1rem;
                        font-size: .18rem;
                        text-align: center;
                        line-height: .32rem;
                    }
                    i{
                        width: .6rem;
                        height: .32rem;
                        font-size: .18rem;
                        background: #ff8066;
                        border-top: 1px solid #ffdad2;
                        text-align: center;
                        line-height: .32rem;
                    }
                }
            }
        }
    }
    .text1{
        margin-top: .21rem;
        p{
            height: .64rem;
            line-height: .64rem;
            span{
                float: left;
                font-size: .22rem;
                color: #333;
                font-weight: bold;
            }
            b{
                font-size: .22rem;
                color: #666;
                float: right;
                &.cur{
                    color: #333;
                }
            }
        }
    }
}
//结尾
#end{
    padding: .19rem .21rem 1.67rem .2rem;
    box-sizing: border-box;
    background: #fff;
    margin-top: .2rem;
    p{
        height: .64rem;
        line-height: .64rem;
        span{
            float: left;
            font-size: .22rem;
            color: #333;
            font-weight: bold;
        }
        b{
            font-size: .22rem;
            color: #686868;
            float: right;
            font-weight: bold;
            &.cur{
                color: #ff6040;
                
            } 
        }
    }
}
footer{
    height: 1.67rem;
    width: 7.5rem;
    background: #fff;
    border-top: 1px solid #ccc;
    position: fixed;
    left: 50%;
    bottom: 0;
    margin-left: -3.75rem;
    padding-left: .23rem;
    box-sizing: border-box;
    p{
        float: left;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: .15rem;
        &.one{
            margin-right: .26rem;
        }
        span{
            font-size: .3rem;
            color: #333;
            &.cur{
                color: #ff6040;
            }
        }
        i{
            font-size: .18rem;
            color: #999;
        }

    }
    input{
        float: right;
        width: 2.2rem;
        height: .98rem;
        font-weight: bold;
        line-height: .98rem;
        text-align: center;
        color: #fff;
        background: #ff6040;
        border: none;    
    }
}
